<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<style>
    .progress-bar {
      background-color: rgba(0, 0, 0, 0.1);
      border-radius: 9999px;
    }
    .progress-bg {
      display: flex;
      align-items: center; /*文字水平居中*/
      justify-content: center; /*文字垂直居中*/
      background-color: #357edd;
      color: #fff;
      border-radius: 9999px;
    }
  </style>
  <body>
    <div class="progress-bar">
      <div class="progress-bg" style="width: 40%">40%</div>
    </div>
  </body>
</html>